package com.icss.day02;

public class Dog extends  Animal {

    String typename;

    public Dog() {
        super(); // 默认super()
    }

    public Dog(String typename) {
        super(typename);
    }

    int legs = 4;

    public void kanmen() {
        System.out.println(this.typename + "看门");
    }

    @Override
    public void move() {
//        super.move();
        System.out.println("子类 覆盖 的move方法");
    }
}
